package authorize;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Luo Wenlong
 * @date 2022-07-05 14:26
 * @description:authorize provider 启动类
 * @version:
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.bosssoft.trainee.nontax.service"})
@EnableDiscoveryClient
@EnableCircuitBreaker
@ComponentScan({"authorize.controller","com.bosssoft.trainee.nontax.hystrix"})
public class NontaxAuthorizeProvider {
    public static void main(String[] args) {
        SpringApplication.run(NontaxAuthorizeProvider.class);
    }
}
